package com.qf.blog.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.blog.web.entity.UserEntity;
import org.apache.ibatis.annotations.Param;

public interface UserMapper extends BaseMapper<UserEntity> {
    UserEntity selectByActivationCode(String activationCode);

    UserEntity selectByUsername(String username);

    void updateHeaderUrl(@Param("id") Integer id, @Param("filePath") String filePath);
}
